|
Family: Gentoo Local Security Checks --> Category: infos
[GLSA-200512-09] cURL: Off-by-one errors in URL handling Vulnerability Scan
Vulnerability Scan Summary cURL: Off-by-one errors in URL handling
Detailed Explanation for this Vulnerability Test
The remote host is affected by the vulnerability described in GLSA-200512-09
(cURL: Off-by-one errors in URL handling)
Stefan Esser from the Hardened-PHP Project has reported a
vulnerability in cURL that allows for a local buffer overflow when cURL
attempts to parse specially crafted URLs. The URL can be specially
crafted in one of two ways: the URL could be malformed in a way that
prevents a terminating null byte from being added to either a hostname
or path buffer
or the URL could contain a "?" separator in the
hostname portion, which causes a "/" to be prepended to the resulting
string.
Impact
A possible hacker capable of getting cURL to parse a maliciously crafted
URL could cause a denial of service or execute arbitrary code with the
rights of the user making the call to cURL. A possible hacker could also
escape open_basedir or safe_mode pseudo-restrictions when exploiting
this problem from within a PHP program when PHP is compiled with
libcurl.
Workaround
There is no known workaround at this time.
References:
http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-4077
http://www.hardened-php.net/advisory_242005.109.html
Solution:
All cURL users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-misc/curl-7.15.1"
Threat Level: Low
Click HERE for more information and discussions on this network vulnerability scan.
|